home *** CD-ROM | disk | FTP | other *** search
- Path: news.IT.net!news
- From: gutest04@pn.itnet.it (Simone Tellini)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Refreshing MX gadgets
- Date: 9 Apr 1996 10:27:50 GMT
- Organization: ITnet
- Message-ID: <791.6673T736T186@pn.itnet.it>
- References: <3169a262@beachyhd.demon.co.uk>
- NNTP-Posting-Host: gutest04.pn.itnet.it
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- On 08-Apr-96 17:33:54, Adam said about Refreshing MX gadgets:
-
- > once it has been created, so instead I'm removing the entire gadget list for
- ^^^^^^
- Why don't you use TWO separate lists? You could do:
-
- g = CreateContext( &list1 );
- g2 = CreateContext( &list2 );
-
- In 'list2' you can put just the MX gadget that you want to change.
- Then, when you need to update it, you simply RemoveGList() it,
- remake it and then AddGList() it...
-
- > it to redraw the changed MX gadget. The imagery stays exactly as it was. If
-
- You need to EraseRect() the area where it stays.
-
- > gadget, that being my MX gadget -- I assume this doesn't work because GadToo
- > gadgets consist of a number of intuition gadgets?).
-
- Yes.
-
- Bye
- Wiz
-
- --
- Fidonet: 2:332/502 (Simone Tellini)
- Internet: Coming soon ;-)
-
-
-